Other Classes
The following classes are available globally.
-
An
MGLAttributedExpressionobject associates text formatting attibutes (such as font size or font names) to anNSExpression.Example
See morelet redColor = UIColor.red let expression = NSExpression(forConstantValue: "Foo") let attributes: [MGLAttributedExpressionKey: NSExpression] = [.fontNamesAttribute : NSExpression(forConstantValue: ["DIN Offc Pro Italic", "Arial Unicode MS Regular"]), .fontScaleAttribute: NSExpression(forConstantValue: 1.2), .fontColorAttribute: NSExpression(forConstantValue: redColor)] let attributedExpression = MGLAttributedExpression(expression, attributes:attributes)Declaration
Objective-C
@interface MGLAttributedExpression : NSObjectSwift
class MGLAttributedExpression : NSObject -
Information about an attribution statement, usually a copyright or trademark statement, associated with a map content source.
See moreDeclaration
Objective-C
@interface MGLAttributionInfo : NSObjectSwift
class MGLAttributionInfo : NSObject -
The
See moreMGLDefaultStyledefines the predefined vendor styleDeclaration
Objective-C
@interface MGLDefaultStyle : NSObjectSwift
class MGLDefaultStyle : NSObject -
The
See moreMGLLoggingConfigurationobject provides a global way to set this SDK logging levels and logging handler.Declaration
Objective-C
@interface MGLLoggingConfiguration : NSObjectSwift
class MGLLoggingConfiguration : NSObject -
An overlay that is placed within a
See moreMGLMapSnapshot. To access this object, use-[MGLMapSnapshotter startWithOverlayHandler:completionHandler:].Declaration
Objective-C
@interface MGLMapSnapshotOverlay : NSObjectSwift
class MGLMapSnapshotOverlay : NSObject -
The
See moreMGLNetworkConfigurationobject provides a global way to set a baseNSURLSessionConfiguration, and other resources.Declaration
Objective-C
@interface MGLNetworkConfiguration : NSObjectSwift
class MGLNetworkConfiguration : NSObject -
The
See moreMGLTileServerOptionsdefines server properties such as URL etc…Declaration
Objective-C
@interface MGLTileServerOptions : NSObjectSwift
class MGLTileServerOptions : NSObject -
The aim of this class is to provide the functionality of changing the camera state and converting between map view screen coordinates and geographical coordinates without changing the actual map view camera state.
See moreDeclaration
Objective-C
@interface MGLMapProjection : NSObjectSwift
class MGLMapProjection : NSObject -
A class containing information about the default User Location annotation view style.
See moreDeclaration
Objective-C
@interface MGLUserLocationAnnotationViewStyle : NSObjectSwift
class MGLUserLocationAnnotationViewStyle : NSObject
Install in Dash
Other Classes Reference